<?php
error_reporting(E_ALL);
define('DB_HOST', 'localhost');
define('DB_NAME', 'root');
define('DB_USER', '123456');
define('DB_PASS', 'weibo');
define('ROOT_DIR', dirname(__FILE__) . '/../');
$pathArr = pathinfo( $_SERVER['PHP_SELF'] );

define('URI', 'http://jiemo.do/');

define( "WB_AKEY" , '88376773' );
define( "WB_SKEY" , 'dd0b4f2d5ad5f1401a132772d02ed5ed' );

define('ROOT_PATH', '/');

define('ENV', 2);
date_default_timezone_set('Asia/Shanghai');
require_once ROOT_DIR . 'include/Util.php';
require_once ROOT_DIR . 'include/Db.php';
require_once ROOT_DIR . 'module/ModuleBase.php';
require_once ROOT_DIR . 'include/Template.php';
require_once ROOT_DIR . 'include/function.php';

$tpl = new Template();

